
layui.use(['layer','laydate'], function(){

});

var wnCompanyConsoleGrid =new consoleGrid({table_id:"wnCompany"});
wnCompanyConsoleGrid.init();
function wnCompanyTableOperate(value){
return "<button type='button' class='btn btn-xs btn-default command-edit' onclick='consoleOpenWindow(\"wnCompany\",\"/console/wn_company/edit?id="+value+"\",\"编辑\")'><span class='glyphicon glyphicon-pencil'></span></button> ";
}
function wnCompanyLoadParam(params){
params.query=wnCompanyQueryString();
return params;
}
function wnCompanyQueryString() {
var objQuery = new Object();
    objQuery.name=$('#name').val()==''?null:$('#name').val(); 
 
var queryString = JSON.stringify(objQuery);
return queryString;
}

